<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Content-Script-Type" content="text/javascript" />
		<meta http-equiv="Content-Style-Type" content="text/css" />
		<title>コントロールパネル</title>
		<link rel="stylesheet" href="./assets/styles/default.css" type="text/css" />
		<script src="assets/scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
		<script src="assets/scripts/menu.js" type="text/javascript"></script>
	</head>
	<body id="">
{{ $menu }}
		<div id="header" class="clearFix"><div class="wrapper">
			<h1><a href="./index.php">コントロールパネル</a></h1>
			<form id="form_logout" action="logout.php" method="post"><p>{{ $login.staff_name }} <input type="submit" id="button_logout" value="ログアウト" /></p></form>
		</div></div>
		<div id="container"><div class="wrapper">
		<h2>管理メニュー一覧</h2>
		<div id="mainMenu">
{{ foreach from=$aokimenu key=mk item=mv name="menum" }}
{{ if $mv.auth }}
<dl class="{{ $mv.class }}">
	<dt>{{ $mv.name }}</dt>
	<dd>
		<ul>
	{{ foreach from=$mv.li key=lik item=liv name="menuli" }}
		{{ if $liv.auth }}
			<li><a href="{{ $lik }}.php">{{ $liv.name }}</a></li>
		{{ /if }}
	{{ /foreach }}
		</ul>
	</dd>
</dl>
{{ /if }}
{{ /foreach }}
					


</div>
		</div></div>
			{{ $footer }}
	</body>
</html>